package xyz.zyt123.videowall.bean;

import javafx.beans.property.SimpleStringProperty;
import javafx.beans.property.StringProperty;

public class ErrorMsgProperties {
    private final StringProperty uuid = new SimpleStringProperty();
    private final StringProperty cameraId = new SimpleStringProperty();
    private final StringProperty imagePath = new SimpleStringProperty();
    private final StringProperty dataTime = new SimpleStringProperty();
    private final StringProperty videoTime = new SimpleStringProperty();

    public ErrorMsgProperties(String uuid, String cameraId, String imagePath, String dataTime, String  videoTime) {
        this.uuid.set(uuid);
        this.cameraId.set(cameraId);
        this.imagePath.set(imagePath);
        this.dataTime.set(dataTime);
        this.videoTime.set(videoTime);
    }

    public void setUuid(String uuid) {
        this.uuid.set(uuid);
    }

    public void setCameraId(String cameraId) {
        this.cameraId.set(cameraId);
    }

    public void setImagePath(String imagePath) {
        this.imagePath.set(imagePath);
    }

    public void setDataTime(String dataTime) {
        this.dataTime.set(dataTime);
    }

    public String getUuid() {
        return uuid.get();
    }

    public StringProperty uuidProperty() {
        return uuid;
    }

    public String getCameraId() {
        return cameraId.get();
    }

    public StringProperty cameraIdProperty() {
        return cameraId;
    }

    public String getImagePath() {
        return imagePath.get();
    }

    public StringProperty imagePathProperty() {
        return imagePath;
    }

    public String getDataTime() {
        return dataTime.get();
    }

    public StringProperty dataTimeProperty() {
        return dataTime;
    }

    public String getVideoTime() {
        return videoTime.get();
    }

    public StringProperty videoTimeProperty() {
        return videoTime;
    }

    public void setVideoTime(String videoTime) {
        this.videoTime.set(videoTime);
    }
}
